package vip.xiaonuo.modular.business.param.BiUserIndexType;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Description 用户指标样式
 * @Author cy
 * @Date 2022/8/5 15:37
 * @Version 1.0
 */
@ApiModel("用户指标样式参数类")
@Data
public class StyleParam {

    /**
     * 指标id
     */
    @ApiModelProperty(value = "指标类型id", required = true)
    @NotNull(message = "指标类型id，请检查指标类型id参数")
    private Long typeId;

    /**
     * 指标类型 点指标 point, 线指标 line,面指标 cover,网格指标 gird
     */
    @ApiModelProperty(value = "指标类型 点指标 point, 线指标 line,面指标 cover,网格指标 gird", required = true)
    private String type;

    /**
     * 粗细
     */
    @ApiModelProperty(value = "粗细")
    private Integer crudeness;

    /**
     * 颜色
     */
    @ApiModelProperty(value = "颜色")
    private String color;

    /**
     * 填充色
     */
    @ApiModelProperty(value = "填充色")
    private String fillColor;
}
